package com.weather.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.weather.common.annotation.Excel;
import com.weather.common.core.domain.BaseEntity;

/**
 * 气象建议规则对象 nm_rule
 * 
 * @author ruoyi
 * @date 2024-03-16
 */
public class NmRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 种类 */
    @Excel(name = "种类")
    private String cropsType;

    /** 天气状况 */
    @Excel(name = "天气状况")
    private String wea;

    /** 最低温度 */
    @Excel(name = "最低温度")
    private Long temMin;

    /** 最高温度 */
    @Excel(name = "最高温度")
    private Long temMax;

    /** 最低湿度 */
    @Excel(name = "最低湿度")
    private Long humidityMin;

    /** 最高温度 */
    @Excel(name = "最高温度")
    private Long humidityMax;

    /** 风速 */
    @Excel(name = "风速")
    private String winSpeed;

    /** 正式建议 */
    @Excel(name = "正式建议")
    private String recommendation;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCropsType(String cropsType) 
    {
        this.cropsType = cropsType;
    }

    public String getCropsType() 
    {
        return cropsType;
    }
    public void setWea(String wea) 
    {
        this.wea = wea;
    }

    public String getWea() 
    {
        return wea;
    }
    public void setTemMin(Long temMin) 
    {
        this.temMin = temMin;
    }

    public Long getTemMin() 
    {
        return temMin;
    }
    public void setTemMax(Long temMax) 
    {
        this.temMax = temMax;
    }

    public Long getTemMax() 
    {
        return temMax;
    }
    public void setHumidityMin(Long humidityMin) 
    {
        this.humidityMin = humidityMin;
    }

    public Long getHumidityMin() 
    {
        return humidityMin;
    }
    public void setHumidityMax(Long humidityMax) 
    {
        this.humidityMax = humidityMax;
    }

    public Long getHumidityMax() 
    {
        return humidityMax;
    }
    public void setWinSpeed(String winSpeed) 
    {
        this.winSpeed = winSpeed;
    }

    public String getWinSpeed() 
    {
        return winSpeed;
    }
    public void setRecommendation(String recommendation) 
    {
        this.recommendation = recommendation;
    }

    public String getRecommendation() 
    {
        return recommendation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cropsType", getCropsType())
            .append("wea", getWea())
            .append("temMin", getTemMin())
            .append("temMax", getTemMax())
            .append("humidityMin", getHumidityMin())
            .append("humidityMax", getHumidityMax())
            .append("winSpeed", getWinSpeed())
            .append("recommendation", getRecommendation())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
